
export const homeReducer = (state = {
    tabWrapSelect: 0,
    tab2Index: 0,
    tab3Index: 0
}, action) => { 
    switch (action.type) {
        case 'tabWrapSelect':
            return { 
                ...state,
                tabWrapSelect: action.data 
            }
        case 'tab2Index':
            return {  ...state,tab2Index: action.data}
        case 'tab3Index':
            return {  ...state,tab3Index: action.data}
        default:
            return state;
    }
}


